﻿
using LogForParameter.IServices;
using LogForParameter.Model;
using LogForParameter.Services.BASE;
using LogForParameter.IRepository.Base;
using LogForParameter.IRepository;
using System.Threading.Tasks;

namespace LogForParameter.Services
{
    public class ORDERPATROL_APILOGServices : BaseServices<ORDERPATROL_APILOG>, IORDERPATROL_APILOGServices
    {
        private readonly IBaseRepository<ORDERPATROL_APILOG> _dal;
        private readonly IORDERPATROL_APILOGRepository _iORDERPATROL_APILOGRepository;

        public ORDERPATROL_APILOGServices(IBaseRepository<ORDERPATROL_APILOG> dal, IORDERPATROL_APILOGRepository iORDERPATROL_APILOGRepository)
        {
            this._dal = dal;
            _iORDERPATROL_APILOGRepository = iORDERPATROL_APILOGRepository;
            base.BaseDal = dal;
        }
        public async Task<string> BaseQuaryTest()
        {
            string result = await _iORDERPATROL_APILOGRepository.BaseQuaryTest();
            return result;
        }
    }
}